<html>
<head>
<title>支付结果</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1.0, minimum-scale=0.5, maximum-scale=1.0, user-scalable=no">
<link href="${ctx}/resources/css/pay.css" rel="stylesheet">
<style>
.result-ctn {
	width: 320px;
	margin: 0 auto;
	padding-top: 100px;
	text-align: center;
}

.tips {
	color: #333;
	text-align: center;
	font-size: 24px;
	width: 100%;
	margin: 24px 0 16px;
}

.more-msg {
	text-align: left;
	padding-left: 90px;
	color: #666;
	line-height: 1.5;
}

.result-ctn img {
	text-align: center;
}
</style>
</head>
<body>
	<div class="pc-header">
		<!-- logo导航栏-->
		<div class="header_nav">
			<div class="header_nav-ctn">
				<div class="logo">
					<img class="logo-img" src="${ctx}/resources/images/yyfax-logo.png">
					<span class="logo-text">认证支付 <#if paymentName??> (${paymentName}) </#if></span>
				</div>
			</div>
		</div>
		<!-- logo导航栏-->
	</div>
	<div class="yy-navbar ng-scope">
		<div class="navbar-row">
			<div class="navbar-left">
				<!--<a class="btn-back" ng-click="goBackClick()">
					<i class="arrow_border_icon arrow_left"></i><span>返回</span>
				</a>-->
			</div>
			<div class="navbar-title navbar-center" style>
				<span class="ng-binding" ng-bind="pageTitle">认证支付<#if paymentName??> (${paymentName}) </#if></span>
			</div>
		</div>
	</div>
	<div class="contain-main">
		<div class="result-ctn">
			<img src="${ctx}/resources/images/result-fail.png">
			<div class="tips">支付失败</div>
			<div class="more-msg">错误代码：${code!}</div>
			<div class="more-msg">失败原因：${display!}</div>
			<div class="btn-opr">
				<#if backUrl??>
				<a class="sub-btn" href="${backUrl!}">返回</a>
				<#else>
				<a class="sub-btn" onclick="javascript:history.back(-1);">返回</a>
				</#if>
			</div>
		</div>
	</div>
	<script src="${ctx}/resources/js/jquery/jquery-1.11.3.min.js"
		type="text/javascript"></script>
	<script src="${ctx}/resources/js/common.js" type="text/javascript"></script>
	<script>
		if ($('#success').length > 0) {
			setTimeout(function() {
				('.sub-btn').click();
			}, 5000);
		}
	</script>
</body>
</html>